<?php

// Checking german postcode
$validate=new validate("40233");

if($validate->postcode("de")){
	echo "Ok!";
}else{
	echo "BAD!";
}

// Checking mail address
$validate=new validate("sven.wagener@intertribe.de");

if($validate->mail()){
	echo "Ok!";
}else{
	echo "BAD!";
}

?>